package di;

public class TextEditer {
    private TextChecker textChecker;

    public TextEditer() {

    }

    public TextEditer(TextChecker textChecker, int iCount) {
        this.textChecker = textChecker;
        System.out.println("Constructor textChecker " + iCount);
    }

    public void setTextChecker(TextChecker textChecker) {
        this.textChecker = textChecker;
        System.out.println("by Setting");
    }

    public void check() {
        textChecker.check();
    }
}
